package com.cff.bean;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName = "t_bus_history") 
public class BusHistory {
	
	@DatabaseField(generatedId = true)  
    private int id;  
	
    @DatabaseField(columnName = "type")  
    private int type;  
    
    @DatabaseField(columnName = "bus_id")  
    private int busId;
    
    @DatabaseField(columnName = "stop_name")  
    private String stopName;
    
    public BusHistory(){
    	
    }

	public BusHistory(int type, String stopName) {
		super();
		this.type = type;
		this.stopName = stopName;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getBusId() {
		return busId;
	}

	public void setBusId(int busId) {
		this.busId = busId;
	}

	public String getStopName() {
		return stopName;
	}

	public void setStopName(String stopName) {
		this.stopName = stopName;
	}
}
